<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>table_1_CSS.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
	<style type="text/css">
		body{text-align: center;}
		
		table{
			border-collapse: collapse;
		}
		td{
			border:1px solid red;
		}
		.altrow{
			background: yellow;
		}		
	</style>
	<script type="text/javascript" src="jquery-1.6.js"></script>
  	<script type="text/javascript">
  	//	$(document).ready(function(){
		//	var e=$("h2 a");
			//for(var i=0;i<e.length;i++){
				//e[i].innerHTML="<font color='red'>"+i+"</font>";
			//}
  	  	//});
  	  	$(function(){
			var e=$("h2 a");
			for(var i=0;i<e.length;i++){
				e[i].innerHTML="<font color='red'>"+i+"</font>";
			}
  	  	});
  	</script>
  </head>

  <body>
   <h2><a href="#">test1</a></h2><br>
   <h2><a href="#">test2</a></h2><br>
   <h2><a href="#">test3</a></h2><br>
  </body>
</html>
